export default {
    namespace: "updateExam",
    state: {
        isUpdate: false,
        baseInfo: {},
    },
    reducers: {
        change(state, { field, data }) {
            const nextState = JSON.parse(JSON.stringify({ data: state })).data
            nextState[field] = data
            return nextState
        }
    }
}